<div class="contain">
	<div class="path">
		<?php echo _LB_CURRENT_PATH ;
			echo '<span class="page_current">' . _LB_MEMBER_PAGE . '</span>';
		?>

	</div>
	<br/><br/>
	<div align="right" class="padding-right">
		<span onclick="change_layout('list')"><?php echo _IMAGE_LIST?></span>
		<span onclick="change_layout('thum')"><?php echo _IMAGE_THUM?></span>
	</div>
	<div align="center">
		<ul class="list_member">
			<?php
				$arr_list_member =  getAllMember(true);
				foreach ($arr_list_member as $member_id => $member_info){
					if ( $member_info['account_avatar_img'] )
						$account_avatar_img = 'lib/upload/thum/'.$member_info['account_avatar_img'];
					else
						$account_avatar_img = 'lib/images/account.png';
					echo '
						<li class="list">
							<a target="_blank" href="'.URL.$member_info['account_name'].'">
								<div class="member_image left">
									'.dspImagesChangeSize($account_avatar_img,'id="mem_'.$member_id.'" class="img_user"',6).
								'</div>
								<div class="left member_list">'.
									$member_info['account_gr_name'].' & '. $member_info['account_br_name'] .'<br/>
								</div>
								<div class="clear">&nbsp;</div>
							</a>
						</li>';
				}
			?>
		</ul>
	</div>
	<script type="text/javascript">
		function change_layout ( type )
		{
			obj_list = $('.list_member li');
			obj_list_div = $('.list_member li div');
			if ( type == 'list' )
			{
				obj_list.removeClass();
				obj_list.addClass('list');
				obj_list_div.removeClass('left');
				obj_list_div.addClass('left');
			}
			if ( type == 'thum' )
			{
				obj_list.removeClass();
				obj_list.addClass('thum');
				obj_list_div.removeClass('left');
				$('.img_user').each({

				});
			}
		}
	</script>
	<div class="clear">&nbsp;</div>
</div>